ostree_repo_read_commit_detached_metadata: Handle parent repo
authorAlexander Larsson <alexl@redhat.com>
Fri, 21 Oct 2016 08:13:54 +0000 (10:13 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 21 Oct 2016 10:50:41 +0000 (10:50 +0000)
commitd43c1216759564e974782695ecdade1fa827c343
treed30c6648deedf38bba1ad2601c1c735088e5a68d
parentcf6ec1bbbcfea78a85255a6cc4e997a6aca54e73
ostree_repo_read_commit_detached_metadata: Handle parent repo

If the detached metadata is not in the repo, try in the parent
repo if that is set.

Without this a commit will not gpg validate in the child repo

Closes: #539
Approved by: giuseppe
src/libostree/ostree-repo-commit.c